	<include file="Public/admin/header.html" title="后台主页" keywords="" />
	<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main">			
		<div class="row">
			<ol class="breadcrumb">
				<li><a href="__URL__/index.html"><span class="glyphicon glyphicon-home"></span></a></li>
				<li class="active">主页</li>
			</ol>
		</div><!--/.row-->
		<div class="row">
			<div class="col-lg-12">
				<h1 class="page-header"></h1>
			</div>
		</div><!--/.row-->
		
	<div class="row">
			<div class="col-xs-12 col-md-6 col-lg-3">
				<div class="panel panel-blue panel-widget ">
					<div class="row no-padding">
						<div class="col-sm-3 col-lg-5 widget-left">
							<em class="glyphicon glyphicon-shopping-cart glyphicon-l"></em>
						</div>
						<div class="col-sm-9 col-lg-7 widget-right">
							<div class="large"><{$count}></div>
							<div class="text-muted">商品总数</div>
						</div>
					</div>
				</div>
			</div>
			<div class="col-xs-12 col-md-6 col-lg-3">
				<div class="panel panel-orange panel-widget">
					<div class="row no-padding">
						<div class="col-sm-3 col-lg-5 widget-left">
							<em class="glyphicon glyphicon-comment glyphicon-l"></em>
						</div>
						<div class="col-sm-9 col-lg-7 widget-right">
							<div class="large"><{$comment}></div>
							<div class="text-muted">评论数</div>
						</div>
					</div>
				</div>
			</div>
			<div class="col-xs-12 col-md-6 col-lg-3">
				<div class="panel panel-teal panel-widget">
					<div class="row no-padding">
						<div class="col-sm-3 col-lg-5 widget-left">
							<em class="glyphicon glyphicon-user glyphicon-l"></em>
						</div>
						<div class="col-sm-9 col-lg-7 widget-right">
							<div class="large"><{$user}></div>
							<div class="text-muted">用户数</div>
						</div>
					</div>
				</div>
			</div>
			<div class="col-xs-12 col-md-6 col-lg-3">
				<div class="panel panel-red panel-widget">
					<div class="row no-padding">
						<div class="col-sm-3 col-lg-5 widget-left">
							<em class="glyphicon glyphicon-stats glyphicon-l"></em>
						</div>
						<div class="col-sm-9 col-lg-7 widget-right">
							<div class="large">128</div>
							<div class="text-muted">访问量</div>
						</div>
					</div>
				</div>
			</div>
		</div><!--/.row-->
			
			<div class="row">
			<div class="col-lg-12">
			<div class="panel panel-primary">
					<div class="panel-heading"><span class="glyphicon glyphicon-cog"></span>设置
					</div>
					<div class="panel-body">
					
					
					<div class="col-md-6">
			  <h3>首页设置</h3>
			<form class="form-horizontal" action="__URL__/set/" method="post">
							
							<!-- 天气input-->
								<div class="form-group">
									<label class="col-md-3 control-label" for="name">公告</label>
									<div class="col-md-9">
									<input type="hidden" name='name1' value='news'>
									<textarea name="value1" rows="4"  class="form-control"><{$news.value}></textarea>
									</div>
								</div>
							<!-- 天气input-->
								<div class="form-group">
									<label class="col-md-3 control-label" for="name">格言</label>
									<div class="col-md-9">
									<input type="hidden" name='name2' value='geyan'>
									<input id="name" name="value2" type="text" class="form-control" value="<{$geyan.value}>">
									</div>
								</div>
								<!-- Form actions -->
								<div class="form-group">
									<div class="col-md-12 widget-right">
										<button type="submit" class="btn btn-primary btn-md pull-right">提交</button>
									</div>
								</div>
			</form>			
</div>		


<div class="col-md-6">
			  <h3>新增变量</h3>
			<form class="form-horizontal" action="__URL__/add/" method="post">
			<div class="form-group">
									<label class="col-md-3 control-label" for="name">变量名</label>
									<div class="col-md-9">
									<input name="newname"  class="form-control" type="text" >
									</div>
								</div>
							<!-- 天气input-->
								<div class="form-group">
									<label class="col-md-3 control-label" for="name">变量值</label>
									<div class="col-md-9">
									<input name="newvalue" type="text" class="form-control" >
									</div>
								</div>
								<!-- Email input-->
				
								<!-- Form actions -->
								<div class="form-group">
									<div class="col-md-12 widget-right">
										<button type="submit" class="btn btn-primary btn-md pull-right">保存</button>
									</div>
								</div>
			</form>		
	</div>		
				
				<div class="col-md-12">
						 <h3>变量表</h3>
                  <table class="table table-bordered">    
                  <tr>
                      <th>ID</th>
                      <th>变量名</th>
                      <th>值</th>
                    
                      </tr>
                      <volist name="dat" id="vo">
                      <tr>
                          <td><{$vo.id}></td>
                          <td><{$vo.name}></td>
                          <td><{$vo.value}> </td>
                      </tr>
                    </volist>  
                  </table>
						</div>
				

					</div>
				</div>
			</div>
		</div><!--/.row-->
			
		
		<div class="row">
			<div class="col-lg-12">
				<div class="panel panel-success">
					<div class="panel-heading">人生格言</div>
					<div class="panel-body">
						<h4  class="large"><{$geyan.value}></h4>  
					</div>
					 <div class="panel-footer">Powered by @虎哥style 2015 .</div>
				</div>
			</div>
		</div><!--/.row-->
		
	</div>	<!--/.main-->
<style>
	.panel-heading{
     height:45px;
     padding: 0px 0px 0px 10px;
}
	</style>
	<script src="__PUBLIC__/js/jquery-1.11.1.min.js"></script>
	<script src="__PUBLIC__/js/bootstrap.min.js"></script>
	<script type="text/javascript">	$(document).ready(function() {  $("#zhu").addClass("active").show(); }	);</script>
</body>

</html>
